﻿using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cngot.Extensions.EventBus
{
    public class EventBusProvider
    {
        public IServiceCollection Services { get; private set; }
        public IServiceProvider ServiceProvider { get; private set; }

        public EventBusProvider(IServiceCollection services)
        {
            Services = services;
            ServiceProvider = services.BuildServiceProvider();
        }
    }
}
